/*
 * @(#)DmsVersion.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.bean;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
  DmsVersion.java

  This class is the serializable bean reflecting business logic uses.

    @author           Zoe Shum
    @company          DCIVision Limited
    @creation date    11/08/2003
    @version          $Revision: 1.15 $
*/

public class DmsVersion extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.15 $";

  static final long serialVersionUID = -81060658400613231L;

  /** indicate the item status is available */
  public static final String AVAILABLE_STATUS = "A";

  /** indicate the item status is exclusive lock */
  public static final String EXCLUSIVE_LOCK = "X";

  /** indicate the item status is shared lock */
  public static final String SHARED_LOCK = "S";

  /** indicate the item status is archived */
  public static final String ARCHIVED_STATUS = "R";

  private Integer documentID = null;
  private String versionNumber = null;
  private String versionLabel = null;
  private Integer parentID = null;
  private Integer contentID = null;
  private Integer bkArchiveID = null;
  private String referenceNo = null;
  private String description = null;
  private Integer itemSize = null;
  private String itemStatus = null;
  private String restoreStatus = null;

  /* document create type*/
  private String createType = null;
  
  /* checkin file name for full text used */
  private String checkinFileName = null;

  public DmsVersion() {
    super();
  }

  public Integer getDocumentID() {
    return(this.documentID);
  }

  public void setDocumentID(Integer documentID) {
    this.documentID = documentID;
  }

  public String getVersionNumber() {
    return(this.versionNumber);
  }

  public void setVersionNumber(String versionNumber) {
    this.versionNumber = versionNumber;
  }

  public String getVersionLabel() {
    return(this.versionLabel);
  }

  public void setVersionLabel(String versionLabel) {
    this.versionLabel = versionLabel;
  }

  public Integer getParentID() {
    return(this.parentID);
  }

  public void setParentID(Integer parentID) {
    this.parentID = parentID;
  }

  public Integer getContentID() {
    return(this.contentID);
  }

  public void setContentID(Integer contentID) {
    this.contentID = contentID;
  }

  public Integer getBkArchiveID() {
    return(this.bkArchiveID);
  }

  public void setBkArchiveID(Integer bkArchiveID) {
    this.bkArchiveID = bkArchiveID;
  }

  public String getReferenceNo() {
    return(this.referenceNo);
  }

  public void setReferenceNo(String referenceNo) {
    this.referenceNo = referenceNo;
  }

  public String getDescription() {
    return(this.description);
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public Integer getItemSize() {
    return(this.itemSize);
  }

  public void setItemSize(Integer itemSize) {
    this.itemSize = itemSize;
  }

  public String getItemStatus() {
    return(this.itemStatus);
  }

  public void setItemStatus(String itemStatus) {
    this.itemStatus = itemStatus;
  }

  public String getRestoreStatus() {
    return(this.restoreStatus);
  }

  public void setRestoreStatus(String restoreStatus) {
    this.restoreStatus = restoreStatus;
  }

  public String getCreateType() {
    return (this.createType);
  }

  public void setCreateType(String createType) {
    this.createType = createType;
  }
  
  public String getCheckinFileName(){
    return(this.checkinFileName);
  }
  
  public void setCheckinFileName(String checkinFileName){
    this.checkinFileName=checkinFileName;
  }
  

}
